$(() => {
  let curUser = sessionStorage.getItem('curUser')
  if (curUser) {
    curUser = JSON.parse(curUser)
    $('.aside .profile .avatar').attr('src', curUser.avatar)
    $('.aside .profile .name').html(curUser.nickName)
  }
})
